package jiuqi.dao;

import jiuqi.pojo.LoginAndRegister;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface LoginAndRegisterDao {

    //登录
    public LoginAndRegister login(LoginAndRegister loginAndRegister);

    //注册
    public int register(LoginAndRegister loginAndRegister);

    //检查
    public LoginAndRegister exitUsername(LoginAndRegister loginAndRegister);
}
